/**
 * AgentProductProject
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2018-04-14  Created
 */
package com.lzy.product.dtos.agent;


import com.lzy.product.dtos.ProjectDto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by WIN7 on 2018/04/14.
 */
public class AgentProductProjectDto implements Serializable {
    private static final long serialVersionUID = 109836214886061587L;
    /**
     * id
     */
    private Long id;

    /**
     * 资源编号(目前关联产品和协议）
     */
    private Long serialId;

    /**
     * 包含项编号
     */
    private Long projectId;

    /**
     * 汽摩券规格编号
     */
    private Long specId;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 包含数量
     */
    private Integer containNum;

    /**
     * 类型（0-固定项 1-单选项）
     */
    private Integer type;

    /**
     * 自购买之日起多少天后生效
     */
    private Integer intervalDays;

    /**
     * 有效天数
     */
    private Integer validTime;

    /**
     * 包含项类型（1-产品包含项  2-协议包含项）
     */
    private Integer model;

    /**
     * 规格
     */
    private ProjectDto projectDto;
    /**
     * 汽摩规格
     */
    private AgentProductMotorcycleDto agentProductMotorcycleDto;

    /**************新增字段*************/
    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 失效时间
     */
    private String expiryTime;

    /**
     * 汽摩券名称
     */
    private String motorName;

    /**
     * 包含项名称
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMotorName() {
        return motorName;
    }

    public void setMotorName(String motorName) {
        this.motorName = motorName;
    }

    public ProjectDto getProjectDto() {
        return projectDto;
    }

    public void setProjectDto(ProjectDto projectDto) {
        this.projectDto = projectDto;
    }

    public AgentProductMotorcycleDto getAgentProductMotorcycleDto() {
        return agentProductMotorcycleDto;
    }

    public void setAgentProductMotorcycleDto(AgentProductMotorcycleDto agentProductMotorcycleDto) {
        this.agentProductMotorcycleDto = agentProductMotorcycleDto;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSerialId() {
        return serialId;
    }

    public void setSerialId(Long serialId) {
        this.serialId = serialId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getContainNum() {
        return containNum;
    }

    public void setContainNum(Integer containNum) {
        this.containNum = containNum;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIntervalDays() {
        return intervalDays;
    }

    public void setIntervalDays(Integer intervalDays) {
        this.intervalDays = intervalDays;
    }

    public Integer getValidTime() {
        return validTime;
    }

    public void setValidTime(Integer validTime) {
        this.validTime = validTime;
    }

    public Integer getModel() {
        return model;
    }

    public void setModel(Integer model) {
        this.model = model;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getExpiryTime() {
        return expiryTime;
    }

    public void setExpiryTime(String expiryTime) {
        this.expiryTime = expiryTime;
    }
}